package com.elong.spring.event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.event.ApplicationContextEvent;

public class MailSendEvent extends ApplicationContextEvent{

    /**
      * @Fields serialVersionUID : TODO
      */
    
    private static final long serialVersionUID = 1L;

    /**
     * 邮件地址
     */
    private String to;
    
    public MailSendEvent(ApplicationContext source, String to){
	super(source);
	this.to = to;
    }
    
    public String getTo(){
	return this.to;
    }
    
}
